Bom, adicionei a passiva do Shiny Marowak em meu server seguindo o tutorial do Slicer: http://www.xtibia.com/forum/topic/203031-adicionando-novas-spells-pda/
Fiz tudo certo mais o poke nao solta a passiva.
Pokemon Moves.lua Spell, eu peguei como base a magia "Stickslash" do Farfetch'd .
elseif spell == "Bone Spin" then local function sendStickEff(cid, dir) if not isCreature(cid) then return true end doAreaCombatHealth(cid, GROUNDDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 227) end local function doStick(cid) if not isCreature(cid) then return true end local t = { [1] = EAST, [2] = SOUTHEAST, [3] = SOUTH, [4] = SOUTHWEST, [5] = WEST, [6] = NORTHWEST, [7] = NORTH, [8] = NORTHEAST, } for a = 1, 9 do addEvent(sendStickEff, a * 140, cid, t[a]) end end doStick(cid, false, cid)Se alguem puder me ajudar, rep+
mano faz assim 1 pega a skill bone rush e poe no lugar da groundshock(mas deixe o nome de groundshock msmo) e depois vc add a passive no marowak e testa pq eu tentei criar a bone spin aki e n deu n só pegou com esse bang q eu fiz...espero ter te ajudado







info
Grupo: Infante
Registrado: 28/01/12
Posts: 1.6k
Reputação: +262
Gênero: Masculino
Bom, adicionei a passiva do Shiny Marowak em meu server seguindo o tutorial do Slicer: http://www.xtibia.com/forum/topic/203031-adicionando-novas-spells-pda/
Fiz tudo certo mais o poke nao solta a passiva.
Pokemon Moves.lua Spell, eu peguei como base a magia "Stickslash" do Farfetch'd .
elseif spell == "Bone Spin" then local function sendStickEff(cid, dir) if not isCreature(cid) then return true end doAreaCombatHealth(cid, GROUNDDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 227) end local function doStick(cid) if not isCreature(cid) then return true end local t = { [1] = EAST, [2] = SOUTHEAST, [3] = SOUTH, [4] = SOUTHWEST, [5] = WEST, [6] = NORTHWEST, [7] = NORTH, [8] = NORTHEAST, } for a = 1, 9 do addEvent(sendStickEff, a * 140, cid, t[a]) end end doStick(cid, false, cid)Se alguem puder me ajudar, rep+